Syntax error, unexpected token ORDER, near to ' BY orden', when parsing: SELECT [Grupogamboa\Models\FotoHome].* FROM [Grupogamboa\Models\FotoHome] WHERE status_id = 1 and concesionario_id = ORDER BY orden (132)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse() #1 [internal function]: Phalcon\Mvc\Model\Query->execute() #2 /var/www/vhosts/grupogamboa.com/httpdocs/app/common/models/FotoHome.php(114): Phalcon\Mvc\Model::find(Array) #3 /var/www/vhosts/grupogamboa.com/httpdocs/app/modules/frontend/controllers/GamaController.php(81): Grupogamboa\Models\FotoHome::find(Array) #4 [internal function]: Grupogamboa\Modules\Frontend\Controllers\GamaController->initialize() #5 [internal function]: Phalcon\Dispatcher->dispatch() #6 /var/www/vhosts/grupogamboa.com/httpdocs/app/bootstrap_web.php(58): Phalcon\Mvc\Application->handle() #7 /var/www/vhosts/grupogamboa.com/httpdocs/public/index.php(2): require('/var/www/vhosts...') #8 {main}